﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.Helper
{
    public class DriverRegInfo
    {
        /// <summary>
        /// 驱动全称
        /// </summary>
        public string DriverFullName { get; set; }

        /// <summary>
        /// 注册数
        /// </summary>
        public int RegOfNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }
    }

    public class RegBaseInfo
    {
        /// <summary>
        /// 机器码
        /// </summary>
        public string MachineCode { get; set; }

        /// <summary>
        /// 机构
        /// </summary>
        public string Organization { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public string ExpiryDate { get; set; }

        /// <summary>
        /// 驱动信息
        /// </summary>
        public List<DriverRegInfo> DriverRegInfo { get; set; } = new List<DriverRegInfo>();
    }

    public class RegInfo
    {
        /// <summary>
        /// 需要验证的信息
        /// </summary>
        public RegBaseInfo RegBase { get; set; }
        /// <summary>
        /// 签名
        /// </summary>
        public string Signature { get; set; }
    }
}
